lcBlockSelRotate Home

Rotates the selected entities.

 BOOL lcBlockSelRotate (
   HANDLE hBlock,
   double X0,
   double Y0,
   double Angle,
   BOOL bCopy,
   BOOL bNewSelect
 );

Parameters
hBlock
  Handle to a block.
X0 Y0
  Coordinates of rotation center.
Angle
  Rotation angle.
bCopy
  If TRUE then original objects will be copied to the new position.
bNewSelect
  If TRUE then original objects will be unselected and the copied objects will form a new selection.
This parameter will be ignored if bCopy=FALSE or LC_PROP_G_AUTOUNSELECT=TRUE.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

Remarks

  If the global property LC_PROP_G_AUTOUNSELECT is set to TRUE then the selection will be cleared after the function.

See Also

  lcEntRotate